<!DOCTYPE html>
<!-- saved from url=(0032)http://auto.sina.cn/?ttp=navauto -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>{$Think.config.CAR_TITLE}</title>
<meta name="keywords" content="{$Think.config.CAR_KEY}">
<meta name="description" content="{$Think.config.CAR_DES}">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Media/base.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Media/wap_media.css">
</head>

<body>
<div class="wrap" id="mainpage">
	
    <!--首页顶通广告-->
    <!-- header -->
    <header>
	<div class="articleHead" id="j_artcileMain">
			<div class="mainNav">
					<a href="{:U('Index/index')}" class="gIcon sinaLogo"></a>
					<span class="navLine"></span>
					<a href="{:U('Media/index')}" class="gIcon levelOne">媒体在线</a>
					<a class="gIcon navBtn" href="http://news.sina.cn/guide.d.html?vt=4">网站导航</a>
			</div>
	</div>
  </header>

  <!-- / header -->
    <!--导航-->
	    <div class="nav" data-sudaclick="wap_nav">
      <ul class="nav-top clearfix">
        <li><a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}">网络</a></li>
        <li><a href="{:U('Car/carartlist',array('ClassID'=>'0585365118'))}">电视</a></li>
        <li><a href="{:U('Car/carartlist',array('ClassID'=>'093864742'))}">电台</a></li>
        <li><a href="{:U('Car/carartlist',array('ClassID'=>'0371555104'))}">平面</a></li>
        <li><a href="{:U('Car/carartlist',array('ClassID'=>'0374394086'))}">户外</a></li>

      </ul>
      <div class="nav-more">
        <ul class="nav-bottom">
		  <li><a href="{:U('Img/index')}">候车亭</a></li>
          <li><a href="{:U('CarLibrary/carlib')}">灯箱</a></li>
          <li><a href="{:U('Car/carartlist',array('ClassID'=>'050510977'))}">墙纸</a></li>
          <li><a href="{:U('Car/carartlist',array('ClassID'=>'039237296'))}">LED屏</a></li>
          <li><a href="{:U('Car/carartlist',array('ClassID'=>'041539940'))}">其他</a></li>
        </ul>
      </div>
    </div>
    <!-- / 导航-->

    <!--搜索-->
    <div class="top-tabs">
    <div class="top-search" data-sudaclick="wap_sousuokuang">
      <form action="{:U('CarLibrary/search')}" method="post" id="search-form">
        <div class="clearfix">
          <div class="top-search-select left">
            <h3 class="selected">车型<em class="arrow"></em></h3>
            <ul class="t-search-select-list">
              <li>车型</li>
              <li>新闻</li>
            </ul>
          </div>
          <div class="top-search-input left">
			  <input type="text" value="" placeholder="搜索关键字" name="keyword" id="keyword">
              <input type="hidden" value="" name="ClassID">
          </div>
          <button type="submit" class="top-search-btn right">搜索</button>
        </div>
      </form>
    </div>
    </div>
    <!--/搜索-->

    <!--焦点图-->
    <div class="banner" data-sudaclick="wap_focus">
        <div class="ul" data-i="3">
            <foreach name="DataMediaTJ" item="MediaTJ">
                <a href="{$ArtTJ['LinkUrl']|getArtUrl=$MediaTJ['ID']}"
                <if condition="$key eq 0 ">
                    class="li"
                <else />
                    class="li l"
                </if>
                data-title="{$MediaTJ['Title']}">
                    <img src="{$Think.config.APP_WEB_URL}home/{$MediaTJ['Img2']}" width="100%">
                    <span class="adv_layer">
						<em>广告</em>
						<i class="mask-bg"></i>
					</span>
                </a>
            </foreach>
        </div>
        <div class="banner-tit">
            <span class="tit"> </span>
            <div class="tit_r"> <span class="num">1</span>/<span class="tot">{$DataMediaTJ|count}</span> </div>
        </div>
    </div>
    <!-- / 焦点图-->
	
    <!-- 头条资讯 -->
    <div class="news-box">
      <div class="news-title clearfix" >
        <h3 class="left" style="width: auto !important;"><a href="javascript:void(0);" >头条资讯</a></h3>
        <!--<a href="javascript:(0);" id="newsrandom" show="6" index="0" class="btn-change right">换一换</a>-->
      </div>
      <div class="cars-news-list" id="newsrandomlist">

      <foreach name="DataArtTop" item="ArtTop">

          <a href="{$ArtTop['ID']|getArtUrl=$ArtTop['ID']}">
              <dl class="carditems_list clearfix">
                  <dt class="carditems_list_dt"><img src="{$Think.config.APP_WEB_URL}home/{$ArtTop.Imgs120}"  onerror="nofind();" alt="{$ArtTop['Title']}"></dt>
                  <dd class="carditems_list_dd">
                      <h3 class="carditems_list_h3 pic_t_44">{$ArtTop['Title']}</h3>
                      <p class="carditems_list_p">{$ArtTop['Intro']}</p>
                      <p class="carditems_list_op clearfix">
                          <span class="op_ico time_num left">{$ArtTop['DateAndTime']}</span>
                          <span class="op_ico  right">&nbsp;{$ArtTop['hits']}</span>
                      </p>
                  </dd>
              </dl>
          </a>
      </foreach>
		      </div>
    </div>
    <!-- / 头条资讯-->
	
    <!-- 4种广告 -->
    <div class="news-box">
        <div class="news-title clearfix" id="tabTitleMediaAds">
            <h3 class="left on">网络媒体</h3>
            <h3 class="left">电视媒体</h3>
            <h3 class="left">电台媒体</h3>
            <h3 class="left">平面媒体</h3>

        </div>

        <div id="tabConMediaAds">
            <div class="mtAds-list">
                <foreach name="DataLbMT1" item="LbMT1">
                   <div class="mtAds-item">
                    <a href="{:U('Media/MediaAdsDet',array('ID'=>$LbMT1['ID']))}">
                        {$LbMT1['AdsName']}
                    </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT2" item="LbMT2">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT2['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT3" item="LbMT3">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT3['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT4" item="LbMT4">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT4['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

        </div>


    </div>
    <!-- / 4种广告-->

    <!-- 4种广告 -->
    <div class="news-box">
        <div class="news-title clearfix" id="tabTitleMediaAds2">
            <h3 class="left on">三面翻</h3>
            <h3 class="left">T型牌</h3>
            <h3 class="left">楼顶广告</h3>
            <h3 class="left">墙面</h3>

        </div>

        <div id="tabConMediaAds2">
            <div class="mtAds-list ">
                <foreach name="DataLbMT77" item="LbMT77">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT77['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT78" item="LbMT78">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT78['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT714" item="LbMT714">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT714['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT710" item="LbMT710">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT710['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

        </div>


    </div>
    <!-- / 4种广告-->

    <!-- 4种广告 -->
    <div class="news-box">
        <div class="news-title clearfix" id="tabTitleMediaAds3">
            <h3 class="left on">候车亭</h3>
            <h3 class="left">灯箱</h3>
            <h3 class="left">LED屏</h3>
            <h3 class="left">其他</h3>

        </div>

        <div id="tabConMediaAds3">
            <div class="mtAds-list">
                <foreach name="DataLbMT711" item="LbMT711">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT711['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT713" item="LbMT713">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT713['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT79" item="LbMT79">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT79['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

            <div class="mtAds-list hide" style="min-height: 250px;">
                <foreach name="DataLbMT718" item="LbMT718">
                    <div class="mtAds-item">
                        <a href="">
                            {$LbMT718['AdsName']}
                        </a>
                    </div>
                </foreach>
                <div class="loading" >
                    <a href="{:U('Car/carartlist',array('ClassID'=>'0584076283'))}" class="loading-txt">查看更多<em></em></a>
                </div>
            </div>

        </div>


    </div>
    <!-- / 4种广告-->

    <!--精彩图赏-->
      <div class="news-box">
      <div class="news-title" ><h3 class="left" style="font-weight: bold">精彩图赏</h3></div>
      <div class="cars-girls-list1 clearfix">

          <foreach name="DataRanImg" item="Img">

              <if condition="$key%2 eq 0 ">
                  <div class="ul">
                      <a href="{:U('Img/imgdes',array('imgClassID'=>$Img['id']))}" class="img">
                          <img src="{$Think.config.IMG_URL}{$Img['images']}" alt="{$Img['classname']}">
                          <div class="text">{$Img['classname']}</div>
                      </a>
                      <div class="flex"></div>
                  <else />

                      <a href="{:U('Img/imgdes',array('imgClassID'=>$Img['id']))}" class="img">
                          <img src="{$Think.config.IMG_URL}{$Img['images']}" alt="{$Img['classname']}">
                          <div class="text">{$Img['classname']}</div>
                      </a>
                  </div>
              </if>

          </foreach>
      </div>
      <div class="loading" data-sudaclick="wap_photo_more">
        <a href="{:U('Img/index')}" class="loading-txt">查看更多<em></em></a>
      </div>
    </div>
    <!-- / 精彩图赏-->

    <div id="back_to_top" class="gotop_btn"></div>

    <!--foot-->
    <include file="./APP/Tpl/Car/carfoot.html"/>
    <!--/ foot -->

</div>
    <!-- JS -->
    <script src="__PUBLIC__/js/zepto.min.js"></script>
    <script src="__PUBLIC__/js/idangerous.swiper-2.1.min.js"></script>
    <script src="__PUBLIC__/js/Car/auto_wap_index.js"></script>
    <script src="__PUBLIC__/js/Car/banner.js"></script>

<script>
//搜索框相关逻辑
$(function(){

    $('#tabTitleMediaAds > h3').on('click', function () {
        var selIndex = $(this).index();
        var newCon = $('#tabConMediaAds > div');
        var type = $(this).data("type");
        var classid = $(this).data("classid");

        $('#tabTitleMediaAds h3').removeClass('on');
        $(this).addClass('on');

        newCon.hide();
        newCon.each(function (index) {
            $(this).hide();
            if (index == selIndex) {
                if ($(this).find('div').length != 0) {
                    $(this).show();
                } else {
                    var selDiv = $(this);
                    selDiv.show();
                }
            }
        });

    });

    $('#tabTitleMediaAds2 > h3').on('click', function () {
        var selIndex = $(this).index();
        var newCon = $('#tabConMediaAds2 > div');
        var type = $(this).data("type");
        var classid = $(this).data("classid");

        $('#tabTitleMediaAds2 h3').removeClass('on');
        $(this).addClass('on');

        newCon.hide();
        newCon.each(function (index) {
            $(this).hide();
            if (index == selIndex) {
                if ($(this).find('div').length != 0) {
                    $(this).show();
                } else {
                    var selDiv = $(this);
                    selDiv.show();
                }
            }
        });

    });

    $('#tabTitleMediaAds3 > h3').on('click', function () {
        var selIndex = $(this).index();
        var newCon = $('#tabConMediaAds3 > div');
        var type = $(this).data("type");
        var classid = $(this).data("classid");

        $('#tabTitleMediaAds3 h3').removeClass('on');
        $(this).addClass('on');

        newCon.hide();
        newCon.each(function (index) {
            $(this).hide();
            if (index == selIndex) {
                if ($(this).find('div').length != 0) {
                    $(this).show();
                } else {
                    var selDiv = $(this);
                    selDiv.show();
                }
            }
        });

    });

	 $('#keyword').focus(function(){
	        if($(this).val() == '搜索关键字'){
	             $(this).val('');
	        }
	    }).blur(function(){
	        if($(this).val() == ''){
	             $(this).val('搜索关键字');
	        }
	   });
    $(".t-search-select-list li").click(function(){
       var text = $(this).text();
       $('.selected').html(text+'<em class="arrow"></em>');
       $(this).parent().toggle();
       if(text == '新闻'){
            $('#search-form').attr('action', '/index.php?m=Car&a=searArtlist');
            $('#search-form').attr('method', 'post');
            $('#keyword').attr('name', 'keyword');
       }
       if(text == '车型'){
           $('#search-form').attr('action', '/index.php?m=CarLibrary&a=search');
           $('#search-form').attr('method', 'post');
           $('#keyword').attr('name', 'keyword');

       }
    });
});
</script>



</body></html>